<?php 
 $states = $this->geo_state_model->getSelectOptions($id_countries);
 if($id_countries == "840") {
        if (!empty($states))
        {
            echo '<div class="blue formText" style="margin:0 0 15px 0;">'.T_('State').'</div>';
            echo form_dropdown('state_ID', $states, $this->input->get_post('state_ID'), 'id="id_geo_states" class="formSelect" style="margin:0 0 15px 0;"' . $onchange, TRUE);
        }
        else
        {
            echo '<div style="padding:4px 0 0 6px; font-size:12px">'.T_('Not found').'</div>';
        }
    } else if($id_countries !== "0") {
        echo '<div class="blue formText" style="margin:0 0 15px 0;">'.T_('Province').'</div>';
        echo form_input('province','','class="formInput" style="margin:0 0 15px 0;"');
    }
?>